package com.yiren.dbaa.module.project_edit.model;

import android.app.Activity;

import com.yiren.backstage.currency.entity.GradeStandardEntity;
import com.yiren.backstage.db.dao.controller.GradeDbController;
import com.yiren.dbaa.module.project_edit.contract.SingleLightEditContract;

import java.util.List;

/**
 * @author lwb
 * @date : 2022/8/24 17:33
 * @description: 灯光编辑model
 */
public class SingleLightEditModel implements SingleLightEditContract.Model {

    private Activity activity;

    public SingleLightEditModel(Activity activity) {
        this.activity = activity;
    }

    @Override
    public List<GradeStandardEntity> getGradeStandardTemplate() {
        return GradeDbController.getInstance(false).queryByNativeSql(GradeStandardEntity.class, "where project_id = '41700'", null);
    }
}
